#include "Component/Renderer/Base/RendererControl.h"
#include "Core/Cardinal.h"
#include "Core/ResourceControl.h"
#include <iostream>
#include <cstdio>
#include <cstring>
#include <cstdlib>

namespace SakuraAge {
void ResourceControl::Init() {
  SerializedStream ss(false);
  ss.LoadFromFile("Resource/Resource.mrc");
  ss&& Cardinal::scenes;
}
void ResourceControl::Exit() { 
  /*
  FILE* f = fopen("Resource/Resource.mrc", "wb");
  SerializedStream ss(true);
  ss&& Cardinal::scenes;
  fwrite(ss.getData(), sizeof(char), ss.getLength(), f);
  //ss.Clear();
  fclose(f);
  */
}
std::string ResourceControl::LoadStringFromResource(std::string path) {
  return std::string();
}
}  // namespace SakuraAge
